package com.michau.testitas.core.dao.api;

import java.util.Collection;
import java.util.Set;

/**
 * User: michau
 * Date: 3/1/13
 * Time: 5:19 PM
 */
public interface GenericDao<T, PK> {

    public T getById(PK id);

    public Set<T> getByIds(Collection<PK> ids);

    public T create(T object);

    public T update(T object);

    public void delete(T... object);

    public Set<T> getAll();

    public void deleteAll();

    public T getByTransferKey(String transferKey);

}